<div class="layui-card layui-bg-gray">
    {block name='style'}{/block}
    {notempty name='title'}
    <div class="layui-card-header notselect">
        <span class="layui-icon layui-icon-next font-s10 color-desc margin-right-5"></span>{$title|default=''}
        <div class="pull-right">{block name='button'}{/block}</div>
    </div>
    {/notempty}
    <div class="layui-card-body">{block name='content'}{/block}</div>
    {block name='script'}{/block}
</div>
<script>form.render();
var ids = [];
$(".move").click(function(){
    type=$(this).data('type');
    $('input[type=checkbox].list-check-box').map(function () {
        (this.checked) && ids.push(this.value);
    });
    if(ids.length==0){
        layer.msg('请选择数据');
    }else{

        $.form.modal("{:url('article/move')}",{ids:ids,type:type},'移动');
    }
    // console.log(ids);
    
});

</script>